package wqh.global;

/**
 * Created by devts on 2016/12/3.
 */
public class GlobalChannelData {

    private static final StringBuffer channelDataStr = new StringBuffer("");

    public static synchronized void setChannelDataStr(String srt){
        channelDataStr.delete(0,channelDataStr.length());
        channelDataStr.append(srt);
    }


    public static synchronized String getChannelDataStr() {
        return channelDataStr.toString();
    }
}
